<!DOCTYPE html>
<html>
<head>

    <meta charset="UTF-8">
    <title>我的银行卡</title>
    <meta name="viewport" content="width=100%; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
    <script src="http://www.17sucai.com/preview/1/2017-09-25/swiperTab/js/jquery.min.js"></script>
    <link rel="stylesheet" href="/static/css/css.css" />
    <link rel="stylesheet" href="//at.alicdn.com/t/font_604068_iwigqvitcsicc8fr.css" />
    <style>
        .cd{  height: 80px;  border-radius: 3%;;width: 95%;margin-left: 3%;color: white;margin-top: 10px}
        .lf{width:20%;float: left;text-align: center;margin-top:20px}
        .rg{width: 80%;float: left;margin-top:10px;}
        .rg1{font-size: 15px}
        .rg2{font-size: 12px;color: lightblue}
        .rg3{font-size: 20px}
    </style>

</head>
<body >
    <header class="head headTitle"   style="position: relative;position: fixed;top: 0px">
        <a class="back"   onclick="window.location.href='/home/worker/mywallet'" ><img src="/static/images/back_gray.png"></a>
        <h1 class="title">我的银行卡</h1>

    </header>
        <div   style="margin-top: 50px">

            {foreach    $cardtype  as  $t}
           <!--银行卡种类-->

        <!--<div>  {$t["type"]}</div>-->
            {if   $t["type"] == 1}

            <div  class="cd"  style="background-color: rgb(26,101,163);"    >
                <div class="lf" >
                    <span   class=" isize  icon icon-jiansheyinxing"></span>
                </div>
                <div  class="rg">
                    <div class="rg1">   建设银行</div>
                    <div class="rg2">储蓄卡</div>
                    <div class="rg3">****  ****  ****  {$t['cardnumber']}</div>
                </div>
            </div>
            {elseif  $t["type"] == 2}

            <div  class="cd"  style="background-color: rgb(1,140,119);">
                <div class="lf" >
                    <span   class=" isize  icon icon-ABC"></span>
                </div>
                <div  class="rg">
                    <div class="rg1">   农业银行</div>
                    <div class="rg2">储蓄卡</div>
                    <div class="rg3">****  ****  ****  {$t['cardnumber']}</div>
                </div>
            </div>
            {elseif  $t["type"] == 3}

            <div  class="cd"  style="background-color: rgb(26,101,163);">
                <div class="lf" >
                    <span   class=" isize  icon icon-youzhengyinxing"></span>
                </div>
                <div  class="rg">
                    <div class="rg1">  邮政银行</div>
                    <div class="rg2">储蓄卡</div>
                    <div class="rg3">
                        <span>**** </span>
                        <span>**** </span>
                        <span>**** </span>
                        <span>{$t['cardnumber']} </span>

                    </div>
                </div>
            </div>
            {elseif  $t["type"] == 4}

            <div  class="cd"  style="background-color: rgb(26,101,163);">
                <div class="lf" >
                    <span   class=" isize  icon icon-yinhang-zhongguorenminyinhang-"></span>
                </div>
                <div  class="rg">
                    <div class="rg1">  中国银行</div>
                    <div class="rg2">储蓄卡</div>
                    <div class="rg3">
                        <span>**** </span>
                        <span>**** </span>
                        <span>**** </span>
                        <span>{$t['cardnumber']} </span>

                    </div>
                </div>
            </div>
            {elseif  $t["type"] == 5}

            <div  class="cd"  style="background-color: rgb(26,101,163);">
                <div class="lf" >
                    <span   class=" isize  icon icon-gongshangyinxing"></span>
                </div>
                <div  class="rg">
                    <div class="rg1">  工商银行</div>
                    <div class="rg2">储蓄卡</div>
                    <div class="rg3">
                        <span>**** </span>
                        <span>**** </span>
                        <span>**** </span>
                        <span>{$t['cardnumber']} </span>

                    </div>
                </div>
            </div>
            {elseif  $t["type"] == 6}

            <div  class="cd"  style="background-color: rgb(26,101,163);">
                <div class="lf" >
                    <span   class=" isize  icon icon-zhaoshangyinhangbank1193432easyiconnet"></span>
                </div>
                <div  class="rg">
                    <div class="rg1">  招商银行</div>
                    <div class="rg2">储蓄卡</div>
                    <div class="rg3">
                        <span>**** </span>
                        <span>**** </span>
                        <span>**** </span>
                        <span>{$t['cardnumber']} </span>

                    </div>
                </div>
            </div>
            {elseif  $t["type"] == 7}

            <div  class="cd"  style="background-color: rgb(26,101,163);">
                <div class="lf" >
                    <span   class=" isize  icon icon-zhongguoyinhangbank1193437easyiconnet"></span>
                </div>
                <div  class="rg">
                    <div class="rg1">  中原银行</div>
                    <div class="rg2">储蓄卡</div>
                    <div class="rg3">
                        <span>**** </span>
                        <span>**** </span>
                        <span>**** </span>
                        <span>{$t['cardnumber']} </span>

                    </div>
                </div>
            </div>
            {else}

            <div  class="cd"  style="background-color: rgb(26,101,163);">
                <div class="lf" >
                    <span   class=" isize  icon icon-jiaotongyinxing"></span>
                </div>
                <div  class="rg">
                    <div class="rg1">  交通银行</div>
                    <div class="rg2">储蓄卡</div>
                    <div class="rg3">
                        <span>**** </span>
                        <span>**** </span>
                        <span>**** </span>
                        <span>{$t['cardnumber']} </span>

                    </div>
                </div>
            </div>
            {/if}
            {/foreach}
            <!--添加银行卡-->
            <!--<div  style="margin-bottom: 20px" >-->
              <!--<a  href="{:url('/home/Worker/myaddcard')}"> <span class="icon icon&#45;&#45;jiahao" style="margin-left: 5%">   添加银行卡</span></a>-->
            <!--</div>-->
        </div>









</body>
<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>

</html>
